
#include "stdafx.h"

#include "graphics.h"
#include <windows.h>
#include <conio.h>
#include <tchar.h>
#include <iostream>
#include <fstream>
using namespace std;

class MAP
{
public:
	MAP() {}
	~MAP() {}
	/*
	void write()
	{
		FILE* fp = NULL;
		fopen_s(&fp, "map.txt", "w");
		const char* s = "\r\n";
		for (int i = 0; i < 26; i++)
		{
			fputs("\"", fp);
			for (int j = 0; j < 26; j++)
			{
				if (buf[i][j] == '1')
					fputc('3', fp);
				else if (buf[i][j] == '2')
					fputc('1', fp);
				else if (buf[i][j] == '3')
					fputc('2', fp);
				else
					fputc(buf[i][j], fp);
			}
			fputs("\"\n", fp);
		}
		fclose(fp);
	}*/
	void map_1();
	void map_2();
	void map_3();
	void map_4();
	void map_5();
	void map_6();
	void map_7();
	void map_8();
	void map_9();
	void map_10();
	void map_11();
	void map_12();
	void map_13();
	void map_14();
	void map_15();
	void map_16();
	void map_17();
	void map_18();
	void map_19();
	void map_20();
	void map_21();
	void map_22();
	void map_23();
	void map_24();
	void map_25();
	void map_26();
	void map_27();
	void map_28();
	void map_29();
	void map_30();
	void map_31();
	void map_32();
	void map_33();
	void map_34();
	void map_35();
	char buf[26][27];
};
void MAP::map_1()
{
	char* s[] = {
		"00000000000000000000000000",
		"00000000000000000000000000",
		"00330033003300330033003300",
		"00330033003300330033003300",
		"00330033003300330033003300",
		"00330033003300330033003300",
		"00330033003355330033003300",
		"00330033003355330033003300",
		"00330033003300330033003300",
		"00330033000000000033003300",
		"00330033000000000033003300",
		"00000000003300330000000000",
		"00000000003300330000000000",
		"33003333000000000033330033",
		"55003333000000000033330055",
		"00000000003300330000000000",
		"00000000003333330000000000",
		"00330033003333330033003300",
		"00330033003300330033003300",
		"00330033003300330033003300",
		"00330033003300330033003300",
		"00330033000000000033003300",
		"00330033000000000033003300",
		"00330033000333300033003300",
		"00000000000300300000000000",
		"00000000000300300000000000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_2()
{
	char* s[] = {
		"00000055000000550000000000",
		"00000055000000550000000000",
		"00330055000000330033003300",
		"00330055000000330033003300",
		"00330000000033330033553300",
		"00330000000033330033553300",
		"00000033000000000055000000",
		"00000033000000000055000000",
		"11000033000055000033113355",
		"11000033000055000033113355",
		"11110000003300005500110000",
		"11110000003300005500110000",
		"00333333111111550000113300",
		"00333333111111550000113300",
		"00000055113300330033003300",
		"00000055113300330033003300",
		"55330055003300330000003300",
		"55330055003300330000003300",
		"00330033003333330033553300",
		"00330033003333330033553300",
		"00330033003333330000000000",
		"00330033003333330000000000",
		"00330000000000000033003300",
		"00330000000333300033003300",
		"00330033000300300033333300",
		"00330033000300300033333300" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void readMap();
void writeMap();

void main()
{
	initgraph(260, 260, SHOWCONSOLE);

	//MAP map;
	//map.map_1();
	//map.write();
	

	//writeMap();
	readMap();

	_getch();
	closegraph();
}

///////////////////////////////////

void readMap()
{
	MAP map;
	FILE* fp = NULL;
	fopen_s(&fp, "map.txt", "rb");
	//fseek(fp, sizeof(MAP) * 2, SEEK_SET);

	for (int m = 0; m < 35; m++)
	{
		fread(&map, sizeof(MAP), 1, fp);
		for (int i = 0; i < 26; i++)
		{
			cout << map.buf[i] << endl;
		}
		cout << endl;
	}
	fclose(fp);
}

void writeMap()
{
	MAP map[35];
	map[0].map_1();
	map[1].map_2();
	map[2].map_3();
	map[3].map_4();
	map[4].map_5();
	map[5].map_6();
	map[6].map_7();
	map[7].map_8();
	map[8].map_9();
	map[9].map_10();
	map[10].map_11();
	map[11].map_12();
	map[12].map_13();
	map[13].map_14();
	map[14].map_15();
	map[15].map_16();
	map[16].map_17();
	map[17].map_18();
	map[18].map_19();
	map[19].map_20();
	map[20].map_21();
	map[21].map_22();
	map[22].map_23();
	map[23].map_24();
	map[24].map_25();
	map[25].map_26();
	map[26].map_27();
	map[27].map_28();
	map[28].map_29();
	map[29].map_30();
	map[30].map_31();
	map[31].map_32();
	map[32].map_33();
	map[33].map_34();
	map[34].map_35();
	FILE* fp = NULL;
	fopen_s(&fp, "map.txt", "ab+");
	for (int i = 0; i < 35; i++)
		fwrite(&map[i], sizeof(MAP), 1, fp);
	fclose(fp);
}

void MAP::map_3()
{
	char s[26][27] = {
		"00000000330000003300000000",
		"00000000330000003300000000",
		"00111111330000000000000000",
		"00111111330000000000555555",
		"33111111000000000000000000",
		"33111111000000000000000000",
		"11111111000000330033333330",
		"11111111000000330033333330",
		"11111111333333330033000300",
		"11111111333333000033000300",
		"11111111000033000000000300",
		"11111111000033000000000300",
		"00110000000055555500001100",
		"00110000000055555500001100",
		"00000000000000000011111111",
		"00330033000000000011111111",
		"33300333300333333311111111",
		"33300333300300000011111111",
		"00000000003300000011111111",
		"00000000003300333311111111",
		"33000050000000333311111100",
		"33000050000000000011111100",
		"33330050000000000011111100",
		"33330050000333300011111100",
		"55333300000300300033000000",
		"55333300000300300033000000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_4()
{
	char s[26][27] = { "00111100000000000000001100",
		"00111100000000000000001100",
		"11110000003333000000000011",
		"11110000333333333300000011",
		"11000003333333333333000055",
		"11000003333333333333330000",
		"55000033333333333333333000",
		"00000033333333333333333000",
		"00000333000000333333003000",
		"00000300000000003333003000",
		"44000300500050003330000000",
		"44000300500050003330000000",
		"00003300000000003330004444",
		"00003300333300003330004444",
		"00003333333333333333000000",
		"00003333333333333333000000",
		"00033333333333333333300000",
		"00033333333333333333300000",
		"00333333333333333333330000",
		"00000033333333333300000000",
		"00333300333333330033330011",
		"00333333003333003333330011",
		"11003333000000003333001111",
		"11000000000333300000001111",
		"55110000000300300000111155",
		"55110000000300300000111155" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_5()
{
	char s[26][27] = {
		"00000000333300000000000000",
		"00000000333300000000000000",
		"00000000330000005555550000",
		"55003300330000000000550000",
		"55003300000033000000000000",
		"55003300000033000000000000",
		"33003333330033330044440044",
		"33003333330033330044440044",
		"33000000330000000044000000",
		"00000000000000000044000000",
		"00000000444400444444003333",
		"00003300444400444444003333",
		"33330000443300333000000000",
		"33330000443300333000000000",
		"00000000440000000000055000",
		"00000000440000000000055000",
		"44444400440055003300050000",
		"44444400440055003300050000",
		"00000000000000000000053333",
		"00000033330000000000053333",
		"00000000333333333300000000",
		"00000000330000003333000000",
		"33333300000000000033330000",
		"33330000000333300000330000",
		"33000000000300300000000000",
		"00000000000300300000000000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_6()
{
	//6
	char s[26][27] = {
	"00000000000300301111000000",
	"00000000000300301111000000",
	"00300500300000000311300311",
	"00300500300000000311300311",
	"00300500300033000311300311",
	"00300500300033000311300311",
	"00330000330055003311003311",
	"00330000330055003311003311",
	"00000003550033003350001111",
	"00000003000033000050001111",
	"33333000001133110000033333",
	"33333000001133110000033333",
	"00000000031111113000000000",
	"00000000031111113000000000",
	"55333300331111113303333355",
	"55333300001111110003333355",
	"55555500000011000000555555",
	"00000000330011003300000000",
	"00330000330000003300000000",
	"00330000330000003300000000",
	"00333000003300330000033311",
	"00333000000000000000033311",
	"00003300000000000000111111",
	"00000000000333300000111111",
	"00000000000300300000001111",
	"00003300000300300000331111"
	};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_7()
{
	//7
	char s[26][27] = {
	"00000000000000555500000000",
	"00000000000000000000000000",
	"00005555555500000000550000",
	"00005500000000000000550000",
	"00005500000011005555550000",
	"00005500000011000055550000",
	"00550000001155000000550000",
	"00550000001155000000550000",
	"00000000115555000000555500",
	"00000000115555000000005500",
	"00550011555555005500000000",
	"00550011555555005500000000",
	"00050055550000005555000000",
	"00050055550000005555000000",
	"50000000550055555500000500",
	"50000000550055555500000500",
	"00055500000055551100005500",
	"00055500000055551100005500",
	"00550000000055110000555500",
	"00550000000055110000555500",
	"00555555000011000055000000",
	"00000055000011000055000000",
	"00000000000000000055000055",
	"00000000000333300000005555",
	"00000000000300300000000000",
	"55550000000300300000000000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_8()
{

	char s[26][27] = { "00003300003300000033000000",
	"00003300003300330033000000",
	"11333333003300000033300000",
	"11333333003300550033300000",
	"11111100003300330033000330",
	"11111100000000330000000330",
	"11444444444444444444440044",
	"11444444444444444444440044",
	"00330000000000000000000000",
	"00330000000033330000000000",
	"00003300000333333333335555",
	"00003300000333330033000000",
	"33330033000333331133000033",
	"33330033000333331133555533",
	"00000055000000111111110000",
	"00000055005500111111110000",
	"44440044444444440044444444",
	"44440044444444440044444444",
	"11110003000000000000000000",
	"11110003000033330000000000",
	"11113300300000030000003300",
	"11113300300000030055333300",
	"11003300300000000033003300",
	"00553300300333300000003300",
	"00000000000300300000003300",
	"00000000000300300033000000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_9()
{

	char s[26][27] = { "00000033000000000000110000",
	"00000033000000000055110000",
	"33000000000000110555500033",
	"33000000000055110555500033",
	"00000000110555500055110000",
	"00000055110555500000110000",
	"00000555500055110000000000",
	"00000555500000110000000000",
	"00000055110000000000000000",
	"00000000110000000000000000",
	"00000011001100110011000000",
	"00000011551100115511000000",
	"55330005555000055550003355",
	"55330005555000055550003355",
	"00000011551100115511000000",
	"00000011001100110011000000",
	"00000000000000000000000000",
	"00000000550000005500000000",
	"33000005555000055550000033",
	"33000005555000055550000033",
	"33000011551100115511000033",
	"33000011001100110011000033",
	"00000000000000000000000000",
	"00003300000333300000330000",
	"00003333000300300033330000",
	"00003333000300300033330000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_10()
{
	char s[26][27] = {
	"00000000000000000000000000",
	"00000000000000000000000000",
	"00033333000000000000333330",
	"00030033000000000000330030",
	"03330000330011110033000003",
	"03000000330011110033000003",
	"33000000331111111133000003",
	"33000000331111111133000003",
	"33000003331155551133300033",
	"33000003331155551133300033",
	"03000033444444444444333333",
	"03333333444444444444333333",
	"00333333555533555533333330",
	"00333333555533555533333330",
	"00003333550033005533333000",
	"00003333550033005533333000",
	"00003333333333333333333000",
	"00003333333333333333333000",
	"33113333335555333333331133",
	"33110000005555000000001133",
	"33111111111111111111111133",
	"33111111111111111111111133",
	"00001111110000001111111100",
	"00001111110333301111111100",
	"00000030000300300000300000",
	"00000030000300300000300000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_11()
{

	char s[26][27] = { "00000000005500330033330000",
	"00000000005500330033330000",
	"00033333333300330000000000",
	"00033333333300330000000000",
	"00000030003300333300111111",
	"00000030003300333300111111",
	"00030000000000550011111111",
	"00030000000000550011111111",
	"00030033333355333311113355",
	"00030033333355333311110055",
	"00333333550000330011110003",
	"00000000550000330011110003",
	"03333333005511111111110000",
	"03333333005511111111110000",
	"00000055000011111111113300",
	"00000055000011111111113300",
	"55330011111111551111113300",
	"55330011111111551111113300",
	"03331111111111000000003330",
	"03331111111111000000003330",
	"00331111000000005533333300",
	"00331111000000000033333300",
	"00001111000000000033000300",
	"00001111000333300033000300",
	"00001111000300300000000000",
	"00331111000300300000000000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_12()
{
	char s[26][27] = {
	"00000000000000333333000000",
	"00000000000000333333000000",
	"00333333000000000033000000",
	"00333333330033000033000000",
	"00000000330033000000003333",
	"00000000330000000000003333",
	"00444444444400333000003355",
	"00444444444400333000003300",
	"00000000004400330055503300",
	"00005555554400330055503300",
	"33003333334444440044333300",
	"33003333334444440044333300",
	"00000000003355550044444400",
	"00000000003300000044444400",
	"33333300000000000000000000",
	"33333300000000000000000000",
	"00003300555500000033330003",
	"00003300000000000033330003",
	"33000000000000000033000033",
	"33000000000333300033000033",
	"00000000000300300000000000",
	"00000000000300300000000000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_13()
{
	char s[26][27] = { "00000000000000000000000000",
	"00000000330000003300000000",
	"00333333330000003333333300",
	"00333333330000003333333300",
	"00330000000033000000005500",
	"00330000000033000000005500",
	"00550033330000003333003333",
	"00550033000000000033003333",
	"00330030110055001103005533",
	"00330030115555551103005533",
	"00330000111111111100005533",
	"00000000111111111100000033",
	"33000000111111111100000033",
	"33550000111111111100003333",
	"33550030115555551103003300",
	"33550030110055001103003300",
	"33330033000000000033005500",
	"33330033330000003333005500",
	"33550000000033000000003300",
	"33550000000033000000003300",
	"33333333330000003333335555",
	"33333333330000003333335555",
	"33330000330000003300003300",
	"33330000000333300000003300",
	"33330000000300300000000000",
	"33330000000300300000000000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_14()
{
	char s[26][27] = {
		"00000000000000000000000000",
	"0000000000000000000000000",
	"11110000003333330000001111",
	"11110000333333333300001111",
	"11000003333333333330000011",
	"11000003333333333330000011",
	"00000033331133113333000000",
	"00000033331133113333000000",
	"00000033111133111133000000",
	"00000033111133111133000000",
	"11000033333333333333000011",
	"11000033333333333333000011",
	"11110000331133113300001111",
	"11110000331133113300001111",
	"44444400333333333300444444",
	"44444400333333333300444444",
	"00000000030303030300000000",
	"00000000030303030300000000",
	"00000000303030303000000000",
	"00000000303030303000000000",
	"05050500000000000000505050",
	"05050500000000000000505050",
	"30303000000000000000030303",
	"30303000000000000000030303",
	"50505005000300300050050505",
	"50505005000300300050050505" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_15()
{

	char s[26][27] = { "00000000333300003300000000",
	"00000000333300003300000000",
	"00111133330000003300000000",
	"00111133330000003300000000",
	"11111111111111113333000000",
	"11111111111111113333000000",
	"11553311333333111111113355",
	"11003311333333111111113355",
	"11113311111155111133503300",
	"11113311111100111133503300",
	"00111133001111111133003300",
	"00111133551111111133003300",
	"00333333333311113333301111",
	"00333333333311113333301111",
	"05553333000000333300000011",
	"05003333000000330000000011",
	"00330033000000331111333011",
	"00330033005533001111333011",
	"00330000033333111133000011",
	"00330000033300111133000011",
	"00333330033311110011331111",
	"00333330030011113311331111",
	"00003300110000003311331100",
	"00003300110333303311001100",
	"00003300000300300011111100",
	"00000000000300300011111100" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_16()
{
	char s[26][27] = { "00000000000000000000000000",
	"00000000000000000000000000",
	"00005511550000000000000000",
	"00005511550000000000000000",
	"00000011001100000000000000",
	"00000011001155000000000000",
	"00110000000011000000000000",
	"00111100001100110000000000",
	"00111100001100115500000000",
	"00110011001100001100000000",
	"00110011001100001133000000",
	"00110000110000001111000000",
	"00110000110000001111550000",
	"00001100000000111111110000",
	"00001100000000111111113300",
	"00000011000011001111111100",
	"00000011000011001111111100",
	"33000000000011000011111155",
	"33000000000011000011111155",
	"33330000000000110011111111",
	"33330000000000110011111111",
	"55333300000000001100111111",
	"55333300000333301100111111",
	"55553333000300301100001111",
	"55553333000300301100001111" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_17()
{

	char s[26][27] = {
	"00000000000000000000000000",
	"00000000000000000000000000",
	"00330033330000222222333300",
	"00330033330000222222333300",
	"00330000330055222222222200",
	"00330000330055222222222200",
	"22222250330000332222222200",
	"22222250330000332222222200",
	"22222222222233330330000000",
	"22222222222233330330000000",
	"00000522222222330330005555",
	"00000522222222330330000000",
	"33333333222222222222223333",
	"33333333222222222222223333",
	"00000033332222222250000000",
	"00000033332222222250000000",
	"00333333002222223333003300",
	"00333333002222223333003300",
	"22222233220000000033003300",
	"22222233220000000033003300",
	"22222222225500550000003300",
	"22222222220000000000333300",
	"33222222220000000033000000",
	"33222222220333300033000000",
	"33335000000300300033003300",
	"33335000000300300033003300" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_18()
{

	char s[26][27] = { "00000000000000005555551100",
	"00000000000000005555551100",
	"00330000000000005500005500",
	"00330000000000005500005500",
	"33113300000033333333005500",
	"33113300000033333333005500",
	"00331133000033001133555500",
	"00331133000033001133555500",
	"00003300115533110033000000",
	"00003300115533110033000000",
	"00000000550033553333000000",
	"00000000550033553333000000",
	"00003333553300550000000000",
	"00003333553300550000000000",
	"00003300113355110000000000",
	"00003300113355110000000000",
	"55555511003300003333000000",
	"55555511003300003333000000",
	"55003333333300003355550000",
	"55003333333300003355550000",
	"55000055000000000055333300",
	"55000055000000000055333300",
	"11555555000000000000335555",
	"11555555000333300000335555",
	"00000000000300300000005555",
	"00000000000300300000005555" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_19()
{
	char s[26][27] = { "00330033003300330033003300",
	"00330033003300330033003300",
	"00330033003300330033003300",
	"00330033003300330033003300",
	"00550055005500550055005500",
	"00000000000000000000000000",
	"00000000330000003300000000",
	"33003300330000003300330033",
	"33003333330033003333330033",
	"33003300330033003300330033",
	"55005500550055005500550055",
	"00000000550000005500000000",
	"11110000330011003300001111",
	"11110000330011003300001111",
	"11111111333311333311111111",
	"11111111330011003311111111",
	"11111111111111111111111111",
	"11111111111111111111111111",
	"00000000331111113300000000",
	"33003300331111113300330033",
	"00330033000011000033003300",
	"00330033000011000033003300",
	"00330033000000000033003300",
	"00330033000333300033003300",
	"00330033000300300033003300",
	"00000000000300300000000000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_20()
{

	char s[26][27] = { "00000044003300003300330000",
	"00000044003300003300330000",
	"00000000000000003300550000",
	"00000000000000003300550000",
	"00000044000055003300330000",
	"00000044003355003300330000",
	"55003344005500003300330000",
	"00003344005500330000330000",
	"00003344000000330000000000",
	"00003344000000330000000000",
	"33003344440044444444000033",
	"33003344440044444444000033",
	"00000000000000110044005555",
	"00000033000000110044000000",
	"33330333005511111144000000",
	"33330333005511111144003333",
	"33000300003311111144003300",
	"00000300003311111144003300",
	"00000000003300110044001100",
	"00550000003300110044001100",
	"00330000003333330000111111",
	"00330055000000000000111111",
	"00330033000000000044111111",
	"00330033000333300044111111",
	"00000000000300300044001100",
	"00000000000300300044001100" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_21()
{

	char s[26][27] = {
	"00000000000000000000000000",
	"00000033333300003300000000",
	"00003333333333333333000000",
	"00333333333333333333000000",
	"00111111111111111133330000",
	"00111111111111111133330000",
	"11110000000000001111333300",
	"11110000000000001111333300",
	"11005500005500000011111100",
	"11005500005500000011111100",
	"11005500005500000011111100",
	"11005500005500000011111100",
	"11000011000000001111333330",
	"11000011000000001111333330",
	"11111111111111111133333330",
	"11111111111111111133333330",
	"33111133331111113333333300",
	"33111133331111113333333300",
	"00333333333333333333330055",
	"00333333333333333333330055",
	"55003355333333333333300055",
	"55003355333333333333300055",
	"00553333550000003333555555",
	"00553300550333303333555555",
	"00000000000300300000000000",
	"00000000000300300000000000" };
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_22()
{

	char s[26][27] = {"00000000001100000000000000",
	"00000000001100000000000000",
	"00000000115511000000000000",
	"00000000115511000000000000",
	"00001100001100001111000000",
	"00001100001100001111000000",
	"00113311000000113333110000",
	"00113311000000113333110000",
	"00001133110000001111000011",
	"00001133110000001111000011",
	"11000011000011000000001155",
	"11000011000011000000001155",
	"33110000001155110000110011",
	"33110000001155110000110011",
	"55331100000011000011551100",
	"55331100000011000011551100",
	"33110000110000001100110000",
	"33110000110000001100110000",
	"11000011331100113311000000",
	"11000011331100113311000000",
	"00000011331100001100001100",
	"00000011331100001100001100",
	"00110000110000000000115511",
	"00110000110333300000115511",
	"11551100000300300011331100",
	"11551100000300300011331100"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_23()
{

	char s[26][27] = {"00000000000000000000000000",
	"00000000000000000000000000",
	"00000000005555000000000000",
	"00000000005555000000000000",
	"00000000000055000000000000",
	"00000000000055000000000000",
	"00555511113355331111555500",
	"00555511113355331111555500",
	"00000055111155111155000000",
	"00000055111155111155000000",
	"11000000551111115500000011",
	"11000000551111115500000011",
	"55110000001111110000001155",
	"55110000001111110000001155",
	"11000000005511550000000011",
	"11000000550011005500000011",
	"00000000550000005500000000",
	"00000000550000005500000000",
	"00000055000055000055000000",
	"00000055000055000055000000",
	"00000000000000000000000000",
	"00000000000000000000000000",
	"00000000000000000000000000",
	"00000000000333300000000000",
	"00005500000300300000550000",
	"00005500000300300000550000"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_24()
{
	char s[26][27] = {
	"00005500335500000000030000",
	"00005500330000000000030000",
	"00003300331100333333330000",
	"00003300331100003333330000",
	"00111100331103300000005555",
	"00111100331103300000005555",
	"11111111111133333300033300",
	"11111111111133333300033300",
	"00001111000055330003333303",
	"00001111333300330003330003",
	"33550000333300000033330003",
	"33000033000000000033000003",
	"03000033222222222222222222",
	"03003333222222222222222222",
	"03003300222222222222222222",
	"03000000222222222222222222",
	"00005500222222222222222222",
	"00005500222222222222222222",
	"33003300222222222222222222",
	"33003300222222222222222222",
	"03003300222222222222222222",
	"03003300222222222222222222",
	"03003300000000002222222222",
	"03003300000333302222222222",
	"00003300000300300022222222",
	"00000000000300300022222222"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_25()
{

	char s[26][27] = {"00000055003300330033005500",
	"00000055003300330033005500",
	"00330033000000000055000000",
	"00330033000000000055000000",
	"00330033000055000055005555",
	"00330033000055000055005555",
	"00330000003300553300000055",
	"00330000003300553300000055",
	"00000000333300333300550000",
	"00000000333300333300550000",
	"00005500330000333300333300",
	"00005500330000333300333300",
	"55005500003300550000553300",
	"55005500003300550000553300",
	"00003333003300000033550000",
	"00003333003300000033550000",
	"00553333003333003333000033",
	"00553333003333003333000033",
	"00330000003355000000003333",
	"00330000003355000000003333",
	"00000033003333550055000033",
	"00000033003333550055000033",
	"33003333000000000033550000",
	"33003333000333300033550000",
	"33003300000300300033333333",
	"33003300000300300033333300"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_26()
{

	char s[26][27] = {
	"00004444000000000000000000",
	"00004444000000000000000000",
	"00000044110030000000000000",
	"55000044110030000000000000",
	"11000000000050003000444400",
	"11550000000050003000444400",
	"11110055000300005011440000",
	"11110000330300005011440000",
	"11111100005500030000000000",
	"11111100005533030000000055",
	"11115500000300550000000011",
	"11110055000300553300005511",
	"11550000335500030055001111",
	"11000000005500030000001111",
	"00000000003033550000111111",
	"00000000003000550000111111",
	"00004411050000303300551111",
	"00004411050000300050501111",
	"00444400030005000000000011",
	"00444400030005000000000011",
	"00000000000003001144000055",
	"00000000000003001144000000",
	"55000000000000000044440000",
	"55000000000333300044440000",
	"55550000000300300000000055",
	"55550000000300300000000055"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_27()
{
	char s[26][27] = { "00000000550000000000000000",
	"00000000550000000000000000",
	"55550000550000555500000000",
	"55550000550000555500000000",
	"00550000550000005500555511",
	"00550000550000005500555511",
	"00550000555555001100550000",
	"00550000555555001100550000",
	"00330000000055005555550000",
	"00330000000055005555550000",
	"11555500553355333300000000",
	"11555500553355333300000000",
	"00005511551100003300005555",
	"00005511551100003300005555",
	"00005500001100005500005500",
	"00005500001100005500005500",
	"00003300005500005555335500",
	"00003300005500005555335500",
	"11555555111133555500335500",
	"11555555111133555500335500",
	"00000033000000001111003300",
	"00000033000000001111003300",
	"00000055000000000011003300",
	"00000055000333300011003300",
	"00000055000300300055003300",
	"00000055000300300055003300"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_28()
{

	char s[26][27] = {"00000000000000000000055000",
	"00000000000000000000055000",
	"00000000000000000000550000",
	"00000000000055000000550000",
	"00000000000011000033300000",
	"00000000003311330033300000",
	"00000000001111110033300000",
	"00000000551111115533300000",
	"00000000111122111133300000",
	"00000033111122111133300000",
	"00000011112222221111300000",
	"00005511112222221111300000",
	"00001111222222222211110000",
	"00331111222222222211113300",
	"00111122222222222222111100",
	"55111122222222222222111155",
	"11112222222222222222221111",
	"11112222222222222222221111",
	"00112222222222222222221100",
	"00112222222222222222221100",
	"00112222222222222222221100",
	"00112222222222222222221100",
	"00112222220000002222221100",
	"00112222220333302222221100",
	"00112222000300300022221100",
	"00112222000300300022221100"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_29()
{

	char s[26][27] = { "00000000000000000000330000",
	"00000000000000000000330000",
	"00334444005500330000000000",
	"00334444005500330000000000",
	"00004444331111114444005500",
	"00004444331111114444005500",
	"00000000001111114444330000",
	"00000000001111114444330000",
	"00550000444400110000000000",
	"00550000444400110000000000",
	"11113300444455000000003300",
	"11113300444455000000003300",
	"11111100000000000055000055",
	"11111100000000000055000055",
	"00334444003300000000000000",
	"00334444003300000000000000",
	"55004444111144441111003300",
	"55004444111144441111003300",
	"00000000110044441111444400",
	"00000000110044441111444400",
	"00000055110000001111444400",
	"00000055110000001111444400",
	"00003300330000000000000000",
	"00003300330333300000000000",
	"33000000000300300033550000",
	"33000000000300300033550000"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_30()
{

	char s[26][27] = {"0000000000000000000000000",
	"00000000000000000000000000",
	"00000000000000000000000000",
	"00000000003333000000550000",
	"00000000001111000000110000",
	"00555500331111550033113300",
	"00111100111111110011111100",
	"33111133111111113311111133",
	"11111111111111111111111111",
	"11111111111111111111111111",
	"55114411111111114411111111",
	"55114411111111114411111111",
	"11114444441111114444441155",
	"11114444441111114444441155",
	"11111111441155111111441111",
	"11111111441155111111441111",
	"11111111111111111111111111",
	"11111111111111111111111111",
	"11111111113333111111111155",
	"11111111110000111111111100",
	"55111111330000331111115500",
	"00111111000000001111110000",
	"00553333000000003333330000",
	"00000000000333300000000000",
	"00000000000300300000000000",
	"00000000000300300000000000"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_31()
{

	char s[26][27] = {"00000044000000004400000000",
	"00000044000000004400000000",
	"44440044004444444400444444",
	"44440044004444444400444444",
	"11113300003300004400441144",
	"11113300003300004400441144",
	"11444444440055000033111111",
	"11444444440055000033111111",
	"11110044000044004444444411",
	"11110044000044004444444411",
	"44440044004444000044000000",
	"44440044004444000044000000",
	"00003311330033110044000044",
	"00003311330033110044000044",
	"00444411444444440011330044",
	"00444411444444440011330044",
	"33000033000044001111440044",
	"33000033000044001111440044",
	"44440044440044334444440000",
	"44440044440044334444440000",
	"00003300111100001144000044",
	"00003300111100001144000044",
	"00444444110000000044004444",
	"00444444110333300044004444",
	"00440000000300300000000000",
	"00440000000300300000000000"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_32()
{

	char s[26][27] = { "22222222222200222222222222",
	"22222222222200222222222222",
	"22222222222222222222222222",
	"22222222222222222222222222",
	"22222233222222222233222222",
	"22222233222222222233222222",
	"22330033003322330033003322",
	"22330033003322330033003322",
	"22333333000000000033333322",
	"22000033000000000033000022",
	"22222233003355330033222222",
	"22222233333355333333222222",
	"55222222005500550022222255",
	"55222222000000000022222255",
	"22222222003300330022222222",
	"22222222003300330022222222",
	"22222222003300330022222222",
	"22222222003300330022222222",
	"22222233000000000033222222",
	"22222233000033000033222222",
	"22332233005555550033223322",
	"22332233000000000033223322",
	"00330033000000000033003300",
	"00333333000333300033333300",
	"00330000000300300000003300",
	"00000000000300300000000000"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_33()
{

	char s[26][27] = { "00000000550000000055000000",
	"00000000550000000055000000",
	"00550000005500005511110000",
	"00550000005500005511110000",
	"00005500000000551100500000",
	"00005500000000551155500000",
	"00000055001111111111000500",
	"00000055001111111111000500",
	"00500000551111551100005500",
	"00550000551111551100005500",
	"00555011005511115511110500",
	"00005011005511115500000500",
	"00001111111111000055000000",
	"00001111111111000055000000",
	"00005011005511000000550000",
	"00555011005511000000550000",
	"00111111550055000000005500",
	"00111111550055005500005500",
	"11111155000000000500000000",
	"11111155000000000000000000",
	"00005500000000000000000555",
	"00005500000000000000000555",
	"00000000000000000000500000",
	"00000000000333300055500000",
	"50000000000300300000000000",
	"50005500000300300000000000"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_34()
{

	char s[26][27] = {"00000000300300000000000000",
	"00000000300300000000000000",
	"30303003003000003030000000",
	"30303003003000003030000000",
	"30303033330000003030000000",
	"30303033330000003033300000",
	"03030033300000033033330000",
	"03030033300000033033330000",
	"00300033033000303333330000",
	"00300033033000303333330000",
	"00300300003330330303330000",
	"00300300003330330303330000",
	"00300000033333300030330000",
	"00300000033333300030330000",
	"00030000303333300030330000",
	"00030000303333300030330000",
	"00033333003333330030303333",
	"00030000003333330030300033",
	"00030000033033033030300303",
	"00030000033033033030300303",
	"00003000330330333300000300",
	"00003000330330333300000300",
	"00003003300000003330003000",
	"00003003300333303300030000",
	"00003003000300300033330000",
	"00003003000300300033330000"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}

void MAP::map_35()
{

	char s[26][27] = { "00000000000000000000000000",
	"00000000000000000000000000",
	"00000000330033000000000000",
	"00000000330033000000000000",
	"11000011331133110000110000",
	"11000011331133110000110000",
	"33111133333333331111331100",
	"33111133333333331111331100",
	"33333333553355333333331100",
	"33333333553355333333331100",
	"44444433333333334444441100",
	"44444433333333334444441100",
	"44333333333333333333444411",
	"44333333333333333333444411",
	"33333344333333443333331111",
	"33333344333333443333331111",
	"33334444443344444433334444",
	"33334444443344444433334444",
	"11444411111111114444114411",
	"11444411111111114444114411",
	"00111100000000001111001100",
	"00111100000000001111001100",
	"00000000000000000000000000",
	"00000000000333300000000000",
	"00000000000300300000000000",
	"00000000000300300000000000"};
	for (int i = 0; i < 26; i++)
	{
		strcpy_s(buf[i], s[i]);
	}
}














